package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the HIS_PATIENT database table.
 * 
 */
@Entity
@Table(name="HIS_PATIENT")
@NamedQuery(name="HisPatient.findAll", query="SELECT h FROM HisPatient h")
public class HisPatient implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="BR_NO")
	@SequenceGenerator(sequenceName="brno", name="brno",initialValue=1, allocationSize=1)
	@GeneratedValue(generator = "brno")
	private long brNo;

	@Column(name="BQ_NO")
	private BigDecimal bqNo;

	@Column(name="BR_ADDRESS")
	private String brAddress;

	@Column(name="BR_AGE")
	private BigDecimal brAge;

	@Temporal(TemporalType.DATE)
	@Column(name="BR_DATE")
	private Date brDate;

	@Column(name="BR_IDNUMBER")
	private String brIdnumber;

	@Column(name="BR_MONEY")
	private BigDecimal brMoney;

	@Column(name="BR_NAME")
	private String brName;

	@Column(name="BR_SEX")
	private String brSex;

	@Column(name="BR_SITUATION")
	private String brSituation;

	@Column(name="BR_TEL")
	private String brTel;

	@Column(name="CW_NO")
	private BigDecimal cwNo;

	@Column(name="ZYCF_NO")
	private BigDecimal zycfNo;

	@Column(name="ZYYS_NO")
	private BigDecimal zyysNo;

	public HisPatient() {
	}

	public long getBrNo() {
		return this.brNo;
	}

	public void setBrNo(long brNo) {
		this.brNo = brNo;
	}

	public BigDecimal getBqNo() {
		return this.bqNo;
	}

	public void setBqNo(BigDecimal bqNo) {
		this.bqNo = bqNo;
	}

	public String getBrAddress() {
		return this.brAddress;
	}

	public void setBrAddress(String brAddress) {
		this.brAddress = brAddress;
	}

	public BigDecimal getBrAge() {
		return this.brAge;
	}

	public void setBrAge(BigDecimal brAge) {
		this.brAge = brAge;
	}

	public Date getBrDate() {
		return this.brDate;
	}

	public void setBrDate(Date brDate) {
		this.brDate = brDate;
	}

	public String getBrIdnumber() {
		return this.brIdnumber;
	}

	public void setBrIdnumber(String brIdnumber) {
		this.brIdnumber = brIdnumber;
	}

	public BigDecimal getBrMoney() {
		return this.brMoney;
	}

	public void setBrMoney(BigDecimal brMoney) {
		this.brMoney = brMoney;
	}

	public String getBrName() {
		return this.brName;
	}

	public void setBrName(String brName) {
		this.brName = brName;
	}

	public String getBrSex() {
		return this.brSex;
	}

	public void setBrSex(String brSex) {
		this.brSex = brSex;
	}

	public String getBrSituation() {
		return this.brSituation;
	}

	public void setBrSituation(String brSituation) {
		this.brSituation = brSituation;
	}

	public String getBrTel() {
		return this.brTel;
	}

	public void setBrTel(String brTel) {
		this.brTel = brTel;
	}

	public BigDecimal getCwNo() {
		return this.cwNo;
	}

	public void setCwNo(BigDecimal cwNo) {
		this.cwNo = cwNo;
	}

	public BigDecimal getZycfNo() {
		return this.zycfNo;
	}

	public void setZycfNo(BigDecimal zycfNo) {
		this.zycfNo = zycfNo;
	}

	public BigDecimal getZyysNo() {
		return this.zyysNo;
	}

	public void setZyysNo(BigDecimal zyysNo) {
		this.zyysNo = zyysNo;
	}

}